[INFO] fetching crate cr-sys 0.1.1...
[INFO] building cr-sys-0.1.1 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate cr-sys 0.1.1 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate cr-sys 0.1.1 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cr-sys 0.1.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate cr-sys 0.1.1
[INFO] tweaked toml for crates.io crate cr-sys 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bindgen v0.49.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 42487bae44803584e0f9273a8d71d768601c6e45fb46b0ecc244efa2aa76796e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "42487bae44803584e0f9273a8d71d768601c6e45fb46b0ecc244efa2aa76796e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "42487bae44803584e0f9273a8d71d768601c6e45fb46b0ecc244efa2aa76796e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42487bae44803584e0f9273a8d71d768601c6e45fb46b0ecc244efa2aa76796e", kill_on_drop: false }`
[INFO] [stdout] 42487bae44803584e0f9273a8d71d768601c6e45fb46b0ecc244efa2aa76796e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b22ebb3462faa59a6516b498fe99d9230222c5dfaa613bf9e390d4ba38fcf312
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b22ebb3462faa59a6516b498fe99d9230222c5dfaa613bf9e390d4ba38fcf312", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling gimli v0.24.0
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling rustc-demangle v0.1.19
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling object v0.24.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling bindgen v0.49.4
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling clang-sys v0.28.1
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling backtrace v0.3.59
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling cexpr v0.3.6
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling addr2line v0.15.1
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling which v2.0.1
[INFO] [stderr]    Compiling cr-sys v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: In file included from src/host.cpp:2:
[INFO] [stderr] warning: src/../vendor/cr.h: In function 'bool cr_is_empty(const void*, int64_t)':
[INFO] [stderr] warning: src/../vendor/cr.h:1216:33: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
[INFO] [stderr] warning:  1216 |     auto c = (const char *const)buf;
[INFO] [stderr] warning:       |                                 ^~~
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 44.44s
[INFO] running `Command { std: "docker" "inspect" "b22ebb3462faa59a6516b498fe99d9230222c5dfaa613bf9e390d4ba38fcf312", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b22ebb3462faa59a6516b498fe99d9230222c5dfaa613bf9e390d4ba38fcf312", kill_on_drop: false }`
[INFO] [stdout] b22ebb3462faa59a6516b498fe99d9230222c5dfaa613bf9e390d4ba38fcf312
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d6e0ea55878414ec077db1abe0d825cbe682f78bae34586d0ec412170f53c292
[INFO] running `Command { std: "docker" "start" "-a" "d6e0ea55878414ec077db1abe0d825cbe682f78bae34586d0ec412170f53c292", kill_on_drop: false }`
[INFO] [stderr] warning: In file included from src/host.cpp:2:
[INFO] [stderr] warning: src/../vendor/cr.h: In function 'bool cr_is_empty(const void*, int64_t)':
[INFO] [stderr] warning: src/../vendor/cr.h:1216:33: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
[INFO] [stderr] warning:  1216 |     auto c = (const char *const)buf;
[INFO] [stderr] warning:       |                                 ^~~
[INFO] [stderr]    Compiling cr-sys v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0601]: `main` function not found in crate `raw_state`
[INFO] [stdout]  --> examples/raw_state.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / #[derive(Debug)]
[INFO] [stdout] 2 | | pub struct RawState {
[INFO] [stdout] 3 | |     pub counter: i32,
[INFO] [stdout] 4 | | }
[INFO] [stdout]   | |_^ consider adding a `main` function to `examples/raw_state.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: In file included from src/host.cpp:2:
[INFO] [stderr] warning: src/../vendor/cr.h: In function 'bool cr_is_empty(const void*, int64_t)':
[INFO] [stderr] warning: src/../vendor/cr.h:1216:33: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
[INFO] [stderr] warning:  1216 |     auto c = (const char *const)buf;
[INFO] [stderr] warning:       |                                 ^~~
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `cr-sys`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> examples/raw_host.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | /     loop {
[INFO] [stdout] 32 | |         println!("Run Update: cr_failure={:?}", plugin.failure);
[INFO] [stdout] 33 | |         let rc = unsafe { cr_plugin_update(&mut plugin, true) };
[INFO] [stdout] 34 | |         println!("cr_plugin_update(ctx, true) = {}", rc);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |         thread::sleep(Duration::from_millis(200));
[INFO] [stdout] 45 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 46 |       println!("Call cr_plugin_close(ctx)");
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: dereferencing a null pointer
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/cr-sys-b8db907cd71b9c19/out/bindings.rs:3:1052
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cr_plugin > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of fiel...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deref_nullptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: dereferencing a null pointer
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/cr-sys-b8db907cd71b9c19/out/bindings.rs:3:1261
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cr_plugin > ( ) ) ) . userdata as * const _ as usize } , 8usize , concat ! ( "Offset ...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: dereferencing a null pointer
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/cr-sys-b8db907cd71b9c19/out/bindings.rs:3:1484
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cr_plugin > ( ) ) ) . version as * const _ as usize } , 16usize , concat ! ( "Offset ...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: dereferencing a null pointer
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/cr-sys-b8db907cd71b9c19/out/bindings.rs:3:1706
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cr_plugin > ( ) ) ) . failure as * const _ as usize } , 20usize , concat ! ( "Offset ...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "d6e0ea55878414ec077db1abe0d825cbe682f78bae34586d0ec412170f53c292", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6e0ea55878414ec077db1abe0d825cbe682f78bae34586d0ec412170f53c292", kill_on_drop: false }`
[INFO] [stdout] d6e0ea55878414ec077db1abe0d825cbe682f78bae34586d0ec412170f53c292
